package com.phelon.epdm;

import java.math.BigDecimal;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;

import org.apache.commons.lang.StringUtils;

import com.phelon.Global.AS400.Factory;

/**
 * @author pdanfy
 */

public class BillOfMaterialComponent {

	private String site;
	private String parentItem;
	private String parentItemRevision;
	private String componentItem;
	private String componentItemRevision;
	private String alternativeBomId;
	private String componentConfigurationId;
	private String componentLeadTimeAdjustment;
	private String effectiveFromDate;
	private String effectiveToDate;
	private String featureOptionCode;
	private String featureOptionCostRollUpFactor;
	private String featureOptionNumber;
	private String featureOptionPlanningFactor;
	private String operationWhereFirstUsed;
	private String quantityPerUnit;
	private String userFieldCodeA;
	private String userFieldDate1;
	private String userFieldQuantity1;
	private String userFieldQuantity2;
	private String userFieldQuantity3;
	private String userFieldQuantity4;
	private String userFieldQuantity5;
	private String userFieldQuantity6;
	private String userFieldQuantity7;
	private String userFieldShortAlphaA;
	private String userFieldShortQuantity1;
	private String userFieldText40;
	private String userSequence1;
	private String userSequence2;
	
	public BillOfMaterialComponent(String parentItem, String site, String parentItemRevision) {
		this.site = site;
		this.parentItem = parentItem;
		this.parentItemRevision = parentItemRevision;
	}


	public String getSite() {
		return site;
	}


	public void setSite(String site) {
		this.site = site;
	}


	public String getParentItem() {
		return parentItem;
	}


	public void setParentItem(String parentItem) {
		this.parentItem = parentItem;
	}


	public String getParentItemRevision() {
		return parentItemRevision;
	}


	public void setParentItemRevision(String parentItemRevision) {
		this.parentItemRevision = parentItemRevision;
	}


	public String getComponentItem() {
		return componentItem;
	}


	public void setComponentItem(String componentItem) {
		this.componentItem = componentItem;
	}


	public String getComponentItemRevision() {
		return componentItemRevision;
	}


	public void setComponentItemRevision(String componentItemRevision) {
		this.componentItemRevision = componentItemRevision;
	}


	public String getAlternativeBomId() {
		return alternativeBomId;
	}


	public void setAlternativeBomId(String alternativeBomId) {
		this.alternativeBomId = alternativeBomId;
	}


	public String getComponentConfigurationId() {
		return componentConfigurationId;
	}


	public void setComponentConfigurationId(String componentConfigurationId) {
		this.componentConfigurationId = componentConfigurationId;
	}


	public String getComponentLeadTimeAdjustment() {
		return componentLeadTimeAdjustment;
	}


	public void setComponentLeadTimeAdjustment(String componentLeadTimeAdjustment) {
		this.componentLeadTimeAdjustment = componentLeadTimeAdjustment;
	}


	public String getEffectiveFromDate() {
		return effectiveFromDate;
	}


	public void setEffectiveFromDate(String effectiveFromDate) {
		this.effectiveFromDate = effectiveFromDate;
	}


	public String getEffectiveToDate() {
		return effectiveToDate;
	}


	public void setEffectiveToDate(String effectiveToDate) {
		this.effectiveToDate = effectiveToDate;
	}


	public String getFeatureOptionCode() {
		return featureOptionCode;
	}


	public void setFeatureOptionCode(String featureOptionCode) {
		this.featureOptionCode = featureOptionCode;
	}


	public String getFeatureOptionCostRollUpFactor() {
		return featureOptionCostRollUpFactor;
	}


	public void setFeatureOptionCostRollUpFactor(
			String featureOptionCostRollUpFactor) {
		this.featureOptionCostRollUpFactor = featureOptionCostRollUpFactor;
	}


	public String getFeatureOptionNumber() {
		return featureOptionNumber;
	}


	public void setFeatureOptionNumber(String featureOptionNumber) {
		this.featureOptionNumber = featureOptionNumber;
	}


	public String getFeatureOptionPlanningFactor() {
		return featureOptionPlanningFactor;
	}


	public void setFeatureOptionPlanningFactor(String featureOptionPlanningFactor) {
		this.featureOptionPlanningFactor = featureOptionPlanningFactor;
	}


	public String getOperationWhereFirstUsed() {
		return operationWhereFirstUsed;
	}


	public void setOperationWhereFirstUsed(String operationWhereFirstUsed) {
		this.operationWhereFirstUsed = operationWhereFirstUsed;
	}


	public String getQuantityPerUnit() {
		return quantityPerUnit;
	}


	public void setQuantityPerUnit(String quantityPerUnit) {
		this.quantityPerUnit = quantityPerUnit;
	}


	public String getUserFieldCodeA() {
		return userFieldCodeA;
	}


	public void setUserFieldCodeA(String userFieldCodeA) {
		this.userFieldCodeA = userFieldCodeA;
	}


	public String getUserFieldDate1() {
		return userFieldDate1;
	}


	public void setUserFieldDate1(String userFieldDate1) {
		this.userFieldDate1 = userFieldDate1;
	}


	public String getUserFieldQuantity1() {
		return userFieldQuantity1;
	}


	public void setUserFieldQuantity1(String userFieldQuantity1) {
		this.userFieldQuantity1 = userFieldQuantity1;
	}


	public String getUserFieldQuantity2() {
		return userFieldQuantity2;
	}


	public void setUserFieldQuantity2(String userFieldQuantity2) {
		this.userFieldQuantity2 = userFieldQuantity2;
	}


	public String getUserFieldQuantity3() {
		return userFieldQuantity3;
	}


	public void setUserFieldQuantity3(String userFieldQuantity3) {
		this.userFieldQuantity3 = userFieldQuantity3;
	}


	public String getUserFieldQuantity4() {
		return userFieldQuantity4;
	}


	public void setUserFieldQuantity4(String userFieldQuantity4) {
		this.userFieldQuantity4 = userFieldQuantity4;
	}


	public String getUserFieldQuantity5() {
		return userFieldQuantity5;
	}


	public void setUserFieldQuantity5(String userFieldQuantity5) {
		this.userFieldQuantity5 = userFieldQuantity5;
	}


	public String getUserFieldQuantity6() {
		return userFieldQuantity6;
	}


	public void setUserFieldQuantity6(String userFieldQuantity6) {
		this.userFieldQuantity6 = userFieldQuantity6;
	}


	public String getUserFieldQuantity7() {
		return userFieldQuantity7;
	}


	public void setUserFieldQuantity7(String userFieldQuantity7) {
		this.userFieldQuantity7 = userFieldQuantity7;
	}


	public String getUserFieldShortAlphaA() {
		return userFieldShortAlphaA;
	}


	public void setUserFieldShortAlphaA(String userFieldShortAlphaA) {
		this.userFieldShortAlphaA = userFieldShortAlphaA;
	}


	public String getUserFieldShortQuantity1() {
		return userFieldShortQuantity1;
	}


	public void setUserFieldShortQuantity1(String userFieldShortQuantity1) {
		this.userFieldShortQuantity1 = userFieldShortQuantity1;
	}


	public String getUserFieldText40() {
		return userFieldText40;
	}


	public void setUserFieldText40(String userFieldText40) {
		this.userFieldText40 = userFieldText40;
	}


	public String getUserSequence1() {
		return userSequence1;
	}


	public void setUserSequence1(String userSequence1) {
		this.userSequence1 = userSequence1;
	}


	public String getUserSequence2() {
		return userSequence2;
	}


	public void setUserSequence2(String userSequence2) {
		this.userSequence2 = userSequence2;
	}

}